@import '~antd/lib/style/themes/default.less';
@import '../../utils/utils.less';

.coverCardList {
  //margin-bottom: -24px;
  margin-top: -22px;
  .card {
    background: #fff;
    :global {
      .ant-card-meta-title {
        margin-bottom: 4px;
        overflow: hidden;/*超出部分隐藏*/
        white-space: nowrap;/*不换行*/
        text-overflow:ellipsis;/*超出部分文字以...显示*/
        & > a {
          color: @heading-color;
          display: inline-block;
          max-width: 100%;
        }
      }
      .ant-card-meta-description {
        padding: 5px 0;
        line-height: 22px;
        overflow: hidden;/*超出部分隐藏*/
        white-space: nowrap;/*不换行*/
        text-overflow:ellipsis;/*超出部分文字以...显示*/
      }
    }

    &:hover {
      :global {
        .ant-card-meta-title > a {
          color: @primary-color;
        }
      }
    }
    .activityDescType{
      color: #fc929e;
    }
    .activityDescTime{
      font-size: 13px;
      color: #ccc;
    }
  }

  .cardItemContent {
    display: flex;
    margin-top: 16px;
    margin-bottom: -4px;
    line-height: 20px;
    height: 20px;
    & > span {
      color: @text-color-secondary;
      flex: 1;
      font-size: 12px;
    }
    .avatarList {
      flex: 0 1 auto;
    }
  }
  .cardList {
    margin-top: 24px;
  }

  :global {
    .ant-list .ant-list-item-content-single {
      max-width: 100%;
    }
  }
}

.tableListForm {
  box-sizing: border-box;
  border: 1px solid #eee;
  padding:20px;
  background:#fff;
  margin-top: 10px;
  :global {
    .ant-form-item {
      margin-right: 0;
      display: flex;
      > .ant-form-item-label {
        width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    white-space: nowrap;
    margin-bottom: 24px;
  }
}

.headerInfo {
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  .headerInfo_icon{
    font-size: 30px;
  }
  .headerInfo_other{
    margin-left: 30px;
  }
  span {
    color: @text-color-secondary;
    display: inline-block;
    font-size: @font-size-base;
    line-height: 22px;
    margin-bottom: 4px;
  }
  p {
    color: @heading-color;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
  }
  em {
    background-color: @border-color-split;
    position: absolute;
    height: 56px;
    width: 1px;
    top: 0;
    right: 0;
  }
}

@media screen and (max-width: @screen-sm) {
  .headerInfo {
    margin-bottom: 16px;
    em {
      display: none;
    }
  }
}

.headCard{
  :global {
    .ant-card-body{
      //background: red;
    }

  }
}

// 二级页面table表单样式
.sedTableListForm {
  box-sizing: border-box;
  border: 1px solid #eee;
  padding:20px;
  background:#fff;
  margin-top: -24px;
  :global {
    .ant-form-item {
      margin-right: 0;
      display: flex;
      > .ant-form-item-label {
        width: auto;
        line-height: 32px;
        padding-right: 8px;
      }
      .ant-form-item-control {
        line-height: 32px;
      }
    }
    .ant-form-item-control-wrapper {
      flex: 1;
    }
  }
  .submitButtons {
    white-space: nowrap;
    margin-bottom: 24px;
  }
}
